// ConfigMgr.h: interface for the CConfigMgr class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CONFIGMGR_H__64CAB146_FFD6_4B14_A438_FEAEDCE436F7__INCLUDED_)
#define AFX_CONFIGMGR_H__64CAB146_FFD6_4B14_A438_FEAEDCE436F7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CConfigMgr  
{
public:
	CConfigMgr();
	virtual ~CConfigMgr();

	BOOL LoadFtpConfig(LPFTPDATA pFtpData);
	BOOL LoadDownloadConfig(LPDOWNLOADDATA pDownloadData);
private:
	DWORD ParseFileType(const CString & strFileType);
	BOOL ParseTime(const CString & strTime, SYSTEMTIME & time);
};

#endif // !defined(AFX_CONFIGMGR_H__64CAB146_FFD6_4B14_A438_FEAEDCE436F7__INCLUDED_)
